<?php
class Log {

    private $log_error = 'error.log';
    private $log_info = 'access.log';

    private static function log( $log, $level = 'INFO', $logname = null ) {
        $datetime = date( "Y-m-d H:i:s" );
    }

    public static function warn( $log ) {
        self::log( $log, 'WARN' );
    }

    public static function error( $log ) {
        self::log( $log, 'ERROR' );
    }

    public static function notice( $log ) {
        self::log( $log, 'NOTICE' );
    }

    public static function info( $log ) {
        self::log( $log );
    }

    public static function debug( $log ) {
        self::log( $log, 'DEBUG' );
    }

}